package reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import reggie.dto.DishDto;
import reggie.entity.Dish;

/**
 * ClassName: DishService <br/>
 * Description: <br/>
 * date: 2022/12/1 21:59<br/>
 *
 * @author Xingyingsheng<br />
 * @since JDK 11
 */
public interface DishService extends IService<Dish> {

    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);
//更新菜品信息，同时需要更新口味信息
    void updateWithFlavor(DishDto dishDto);
}
